#ifndef MNEMONICS_H_INCLUDED
#define MNEMONICS_H_INCLUDED

#define MN_HALT 1
#define MN_ADD 2
#define MN_SUB 3
#define MN_INC 4
#define MN_DEC 5
#define MN_BEEP 6
#define MN_PRINT 7
#define MN_PRINTA 8
#define MN_MOV 9
#define MN_JMP 10
#define MN_JZ 11
#define MN_JNZ 12
#define MN_MUL 13
#define MN_PRINTI 14
#define MN_CLEAR 15

#define SEG_DATA 1
#define SEG_CODE 2

#define LABEL_BYTE 1
#define LABEL_ARRAY 2
#define LABEL_LABEL 3
#define LABEL_NONLABEL 4
#define LABEL_IMMEDIATE_LABEL 5

#define RG_R0 1
#define RG_R1 2
#define RG_R2 4
#define RG_R3 5
#define RG_IP 6
#define RG_FP 7
#define RG_INVALID 3

#endif
